﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyVoteMVC.Models
{
    public class Message
    {
        public Message()
        {
        }

        /// <summary>
        /// PK Guid
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// FK 留言所属活动ID
        /// </summary>
        public string Activity_ID { get; set; }

        /// <summary>
        /// 留言编号
        /// </summary>
        public int? No { get; set; }

        /// <summary>
        /// 留言标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 留言内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string Created_By { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? Created_Date { get; set; }

        /// <summary>
        /// 创建方法
        /// </summary>
        public string Created_Action { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string Last_Update_By { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? Last_Update_Date { get; set; }

        /// <summary>
        /// Last_Update_Action
        /// </summary>
        public string Last_Update_Action { get; set; }

        //LazyLoad
        /// <summary>
        /// 消息相关活动
        /// </summary>
        public virtual Activity Activity { get; set; }
    }
}
